<?php
if (!defined("__WD__")) exit("Wrong Connect");

class Kong extends __Kong{
	
	function __construct() {

		parent::__construct();

		$this->load->module( "mysql" , $this->db );
		$this->load->module( "input" , $this->input );
		
		$this->data->title = $this->data->kong_name." - ".$this->data->title;

	}
	function doit( $stat = "list" ) {
		$this->data->head .= "<link rel=\"stylesheet\" href=\"{$this->data->library}/css/prettify.css\" />\r\n";
		$this->data->body .= "<script src=\"{$this->data->library}/js/prettify.min.js\"></script>\r\n";
		$this->_header();
		$this->load->kong("view/main");
		$this->_footer();
		
	}

	
}